package com.enjoyor.soa.traffic.api.dto.tpcms;

import java.util.List;

import com.enjoyor.soa.traffic.util.bean.base.ABean;

import oracle.spatial.geometry.JGeometry;

/**
 * 区域信息Dto(含限时时段列表)
 */
public class ApplyZoneDto extends ABean {

    public ApplyZoneDto() {
        super();
    }

    private static final long serialVersionUID = 2311138788774718448L;

    // 区域编号:Z+毫秒级时间戳
    private String applyZoneId;

    // 区域名称
    private String applyZoneName;

    // 区域类型编号
    private String zoneTypeId;

    // 区域类型名称
    private String zoneTypeName;

    // 管辖部门编号
    private String zoneDeptId;

    // 管辖部门名称号
    private String zoneDeptName;

    // 开启状态(0为否，1为是；默认为1)
    private String isUse;

    // 是否删除(0为否，1为是；默认为0)
    private String isDelete;

    // 更新时间
    private String updateTime;

    // 存储地图区域
    private JGeometry zoneGeo;

    // 存储地图区域字符串
    private String zoneGeoString;

    // 区域备注
    private String zoneMemo;

    // 限时时段列表
    private List<InfoLimitPeriodDto> limitPeriods;

    // 卡口关联表集合
    private List<RltBayonetZoneDto> rltBayonetZones;

    public String getZoneGeoString() {
        return zoneGeoString;
    }

    public void setZoneGeoString(String zoneGeoString) {
        this.zoneGeoString = zoneGeoString;
    }

    public String getApplyZoneId() {
        return applyZoneId;
    }

    public void setApplyZoneId(String applyZoneId) {
        this.applyZoneId = applyZoneId;
    }

    public String getApplyZoneName() {
        return applyZoneName;
    }

    public void setApplyZoneName(String applyZoneName) {
        this.applyZoneName = applyZoneName;
    }

    public String getZoneTypeId() {
        return zoneTypeId;
    }

    public void setZoneTypeId(String zoneTypeId) {
        this.zoneTypeId = zoneTypeId;
    }

    public String getZoneTypeName() {
        return zoneTypeName;
    }

    public void setZoneTypeName(String zoneTypeName) {
        this.zoneTypeName = zoneTypeName;
    }

    public String getZoneDeptId() {
        return zoneDeptId;
    }

    public void setZoneDeptId(String zoneDeptId) {
        this.zoneDeptId = zoneDeptId;
    }

    public String getZoneDeptName() {
        return zoneDeptName;
    }

    public void setZoneDeptName(String zoneDeptName) {
        this.zoneDeptName = zoneDeptName;
    }

    public String getIsUse() {
        return isUse;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public JGeometry getZoneGeo() {
        return zoneGeo;
    }

    public void setZoneGeo(JGeometry zoneGeo) {
        this.zoneGeo = zoneGeo;
    }

    public String getZoneMemo() {
        return zoneMemo;
    }

    public void setZoneMemo(String zoneMemo) {
        this.zoneMemo = zoneMemo;
    }

    public List<InfoLimitPeriodDto> getLimitPeriods() {
        return limitPeriods;
    }

    public void setLimitPeriods(List<InfoLimitPeriodDto> limitPeriods) {
        this.limitPeriods = limitPeriods;
    }

    public List<RltBayonetZoneDto> getRltBayonetZones() {
        return rltBayonetZones;
    }

    public void setRltBayonetZones(List<RltBayonetZoneDto> rltBayonetZones) {
        this.rltBayonetZones = rltBayonetZones;
    }

    /*
     * public void setInfoZone(InfoZone zone) { if (zone.getApplyZoneId() !=
     * null) this.applyZoneId = zone.getApplyZoneId(); if
     * (zone.getApplyZoneName() != null) this.applyZoneName =
     * zone.getApplyZoneName(); if (zone.getZoneTypeId() != null)
     * this.zoneTypeId = zone.getZoneTypeId(); if (zone.getZoneTypeName() !=
     * null) this.zoneTypeName = zone.getZoneTypeName(); }
     */
}
